{# 渲染 #}
{{ form_start(form) }}
    {{ form_widget(form) }}
{{ form_end(form) }}

{# 提示信息 #}
{% for flash_message in app.session.flashBag.get('notice') %}
    <div class="flash-notice">
        {{ flash_message }}
    </div>
{% endfor %}